package com.spring.student.register;

public class User {
    private String number;
    private String password;
    private String identity;

    public User(String number, String password, String identity) {
        this.number = number;
        this.password = password;
        this.identity = identity;
    }

    @Override
    public String toString() {
        return "用户注册成功!\n" +
                "number = " + number + ", password = " + password + ", identity = " + identity;
    }
}
